package cn.stronglink.asset.module.assetmanage.using.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import cn.stronglink.asset.model.UsingApply;
import cn.stronglink.asset.model.UsingApplyDetail;

public interface UsingMapper {
	
	public List<UsingApplyDetail> queryList(Pagination page,@Param("params")Map<String, Object> params);

	public void remove(Long id);

	public void insertUsingApplyDetail(UsingApplyDetail detail);

	public void updateUsingApplyDetail(UsingApplyDetail detail);

	public int insertUsingApply(UsingApply apply);

	public UsingApplyDetail qryById(@Param("id") Long id);

	public int distribution(UsingApplyDetail detail);

	public UsingApply qryUsingApply(@Param("usingApplyId") Long usingApplyId);
	

}
